home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 3502 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: crl.crl.com!not-for-mail
  2. From: bobfry@crl.com (Robert Fry)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: Secure from Decompiling??
  5. Date: 29 Jan 1996 08:15:41 -0800
  6. Organization: CRL Dialup Internet Access
  7. Message-ID: <4eirrd$dir@crl.crl.com>
  8. References: <4djaq2$jd5@earth.superlink.net>
  9. NNTP-Posting-Host: crl.com
  10.  
  11. rstewart@mars.superlink.net (Bob Stewart) writes:
  12.  
  13. > I have a compiled C program containing a string that I want no one to
  14. >be able to see, even with a decompiler. 
  15.  
  16. >Is there any thing to put in the code that can prevent it from being
  17. >decompiled, or make the decompiled code unintelligle??
  18.  
  19. This depends on just what you mean by 'see'. You can certainly make the 
  20. string unintelligible by encrypting it (choose your algorithm). However, 
  21. if someone duplicates that 'gibberish' string, your own decryption 
  22. algorithm will translate it in exactly the same way it would the original 
  23. string.
  24.  
  25. Depending on how much effort you want to go to, you can make this job 
  26. difficult for the user, but you won't be able to make it impossible. This 
  27. is why software protection is an industry unto itself.
  28.  
  29. Good luck!
  30.   Bob
  31.